package com.tiance.demo.service.mysql.constants;

public enum UndoLogPageType {

    INSERT(1, "插入UNDO"), UPDATE(2, "更新UNDO");

    private int undoType;
    private String undoTypeDesc;

    UndoLogPageType(int type, String desc) {
        this.undoType = type;
        this.undoTypeDesc = desc;
    }

    public int getUndoType() {
        return undoType;
    }

    public void setUndoType(int undoType) {
        this.undoType = undoType;
    }

    public String getUndoTypeDesc() {
        return undoTypeDesc;
    }

    public void setUndoTypeDesc(String undoTypeDesc) {
        this.undoTypeDesc = undoTypeDesc;
    }
}
